package top.xtcoder.jdcbase.rbac.params;

import java.util.ArrayList;
import java.util.List;

import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("用户关联角色参数")
public class AdminRoleRelaParam {
	@ApiModelProperty("管理员id")
	@NotBlank(message = "管理员id不能为空")
	private String adminid;
	
	@ApiModelProperty("角色id组")
	private List<String> roleids;

	public List<String> getRoleids() {
		if(roleids == null) {
			roleids = new ArrayList();
		}
		return roleids;
	}

	public void setRoleids(List<String> roleids) {
		this.roleids = roleids;
	}

	public String getAdminid() {
		return adminid;
	}

	public void setAdminid(String adminid) {
		this.adminid = adminid;
	}
	
}
